package cn.eeepay.framework.service.workOrder;

import cn.eeepay.framework.db.pagination.Page;
import cn.eeepay.framework.model.workOrder.WorkCensusFilter;

import javax.servlet.http.HttpServletResponse;
import java.util.Map;

public interface WorkCensusService {

    /**
     * 投诉总量统计-组织获取
     * @param msg
     */
     void getCountTeamList(Map<String, Object> msg);

    /**
     * 投诉总量统计
     * @param info
     * @param page
     * @param msg
     */
    void countTeamWork(WorkCensusFilter info, Page<WorkCensusFilter> page, Map<String, Object> msg);

    /**
     * 投诉总量统计-汇总
     * @param info
     * @param msg
     */
    void countTeamWorkCount(WorkCensusFilter info, Map<String, Object> msg);

    /**
     * 投诉总量统计-导出
     * @param info
     * @param msg
     */
    void exportTeamWork(WorkCensusFilter info, HttpServletResponse response, Map<String, Object> msg) throws Exception;

    /**
     * 下级代理商被投诉排名
     * @param info
     * @param page
     * @param msg
     */
    void countAgentWork(WorkCensusFilter info, Page<WorkCensusFilter> page, Map<String, Object> msg);

    /**
     * 下级代理商被投诉排名-汇总
     * @param info
     * @param msg
     */
    void countAgentWorkCount(WorkCensusFilter info, Map<String, Object> msg);


    /**
     * 下级代理商被投诉排名-导出
     * @param info
     * @param response
     * @param msg
     */
    void exportAgentWork(WorkCensusFilter info, HttpServletResponse response, Map<String, Object> msg) throws Exception;

    void countAgentWork2(WorkCensusFilter info, Page<WorkCensusFilter> page, Map<String, Object> msg);

    /**
     * 一级代理商被投诉排名-汇总
     * @param info
     * @param msg
     */
    void countAgentWorkCount2(WorkCensusFilter info, Map<String, Object> msg);

    void exportAgentWork2(WorkCensusFilter info, HttpServletResponse response, Map<String, Object> msg)throws Exception;
}
